#include <stdio.h>
void main()
{
	float mz = 1;
	float e=1;
	int mu= 1;
	while (1 / mz > (1e-6))
	{
		mz= mz * mu;
		e = e + 1 / mz;
		mu++;
	}
	printf("e = % f8.6\n",e);
}